import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementPlus from "element-plus";
import * as ElIcons from '@element-plus/icons-vue'
import "@/styles/element/index.css";
import VueCookies from 'vue-cookies'


const app=createApp(App)
for (const name in ElIcons){
	app.component(name,(ElIcons as any)[name])
}
app.use(router).use(store).use(ElementPlus).mount("#app");
app.config.globalProperties.$cookies = VueCookies
